package com.student.pojo;

/**
 * 学生实体类
 */
public class StuInfo {

  /**
   * 学生编号
   */
  private Integer id;

  /**
   * 学生姓名
   */
  private String name;

  /**
   * 密码
   */
  private String password;

  /**
   * 学生性别
   */
  private String sex;

  /**
   * 学生年龄
   */
  private Integer age;

  /**
   * 学生体重
   */
  private double weight;

  /**
   * 学生身高
   */
  private double height;

  /**
   * 角色
   */
  private String role;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  public double getWeight() {
    return weight;
  }

  public void setWeight(double weight) {
    this.weight = weight;
  }

  public double getHeight() {
    return height;
  }

  public void setHeight(double height) {
    this.height = height;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  @Override
  public String toString() {
    return "StuInfo{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", password='" + password + '\'' +
            ", sex='" + sex + '\'' +
            ", age=" + age +
            ", weight=" + weight +
            ", height=" + height +
            ", role='" + role + '\'' +
            '}';
  }
}
